<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ChompBombs: Référence du fichier /home/etu/c/p1006411/chompbombs/src/sdljeu.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ChompBombs</div>
   <div id="projectbrief">Jeu_de_Bomberman</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<h1>Référence du fichier /home/etu/c/p1006411/chompbombs/src/sdljeu.c</h1>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;assert.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="sdljeu_8h_source.html">sdljeu.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="jeu_8h_source.html">jeu.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="ennemi_8h_source.html">ennemi.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a91d50efe6cb2a0210ac7be37425b69c2">sdljeuInit</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu, const int numeroTerrain, const int mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise le jeu en mode SDL.  <a href="#a91d50efe6cb2a0210ac7be37425b69c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a8dfd8bcc47ed58462abbcbc60dae47c2">sdlEtatAffiche</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu, const int mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche la barre d'etat des joueurs.  <a href="#a8dfd8bcc47ed58462abbcbc60dae47c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#ab75491c5a7467ad457907cccf1950457">sdlBombeAffiche</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu, const int i)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche les bombes.  <a href="#ab75491c5a7467ad457907cccf1950457"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a32016319473715fc66da494de7336f68">sdljeuAff</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu, const int mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche le jeu en mode SDL.  <a href="#a32016319473715fc66da494de7336f68"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#acaec819142e0a8f582579c395dfd34a2">sdljeuBoucle</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu, const int mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gere le deroulement du jeu en mode SDL.  <a href="#acaec819142e0a8f582579c395dfd34a2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a49401288488d92f06ee4c52041ca2238">sdlMenuPrincipal</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche le menu principal du jeu.  <a href="#a49401288488d92f06ee4c52041ca2238"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a772855cc674619b58a733d408a122fa2">sdlgameover</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu, const int mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche l'ecran de victoire ou de gameover.  <a href="#a772855cc674619b58a733d408a122fa2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a87f8a5a2fce6f87ba7dc7c80c237570d">sdlSelectNiveau</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche le menu de selection du niveau.  <a href="#a87f8a5a2fce6f87ba7dc7c80c237570d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a4b38b954f28bd0ae2479cbe359b289f7">sdlSelectModeDeuxJoueurs</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche le menu du mode 2 joueurs.  <a href="#a4b38b954f28bd0ae2479cbe359b289f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#ac5e6c85058bb23f7d7911addf04820f3">sdljeuDetruit</a> (<a class="el" href="structsdlJeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Libere la memoire occupee par le jeu apres la fermeture du jeu.  <a href="#ac5e6c85058bb23f7d7911addf04820f3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SDL_Surface *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#aaf9c7736cab0f3cecd284f5fdb0b1683">SDL_load_image</a> (const char *filename)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Charge une image.  <a href="#aaf9c7736cab0f3cecd284f5fdb0b1683"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a695e055ca801891bb79cc6f68ecbf2ae">SDL_apply_surface</a> (SDL_Surface *source, SDL_Surface *destination, int x, int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche une image prealablement chargee.  <a href="#a695e055ca801891bb79cc6f68ecbf2ae"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdljeu_8c.html#a6c3723683dfe1e0731a0f01ebc2e84f9">TAILLE_SPRITE</a> = 34</td></tr>
</table>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="a695e055ca801891bb79cc6f68ecbf2ae"></a><!-- doxytag: member="sdljeu.c::SDL_apply_surface" ref="a695e055ca801891bb79cc6f68ecbf2ae" args="(SDL_Surface *source, SDL_Surface *destination, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SDL_apply_surface </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>destination</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche une image prealablement chargee. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">source</td><td>pointeur sur SDL_surface </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">destination</td><td>pointeur sur SDL_surface </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="aaf9c7736cab0f3cecd284f5fdb0b1683"></a><!-- doxytag: member="sdljeu.c::SDL_load_image" ref="aaf9c7736cab0f3cecd284f5fdb0b1683" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SDL_Surface* SDL_load_image </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Charge une image. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>pointeur sur SDL_Surface </dd></dl>

</div>
</div>
<a class="anchor" id="ab75491c5a7467ad457907cccf1950457"></a><!-- doxytag: member="sdljeu.c::sdlBombeAffiche" ref="ab75491c5a7467ad457907cccf1950457" args="(sdlJeu *pSdlJeu, const int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdlBombeAffiche </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche les bombes. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">i</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a8dfd8bcc47ed58462abbcbc60dae47c2"></a><!-- doxytag: member="sdljeu.c::sdlEtatAffiche" ref="a8dfd8bcc47ed58462abbcbc60dae47c2" args="(sdlJeu *pSdlJeu, const int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdlEtatAffiche </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche la barre d'etat des joueurs. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a772855cc674619b58a733d408a122fa2"></a><!-- doxytag: member="sdljeu.c::sdlgameover" ref="a772855cc674619b58a733d408a122fa2" args="(sdlJeu *pSdlJeu, const int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdlgameover </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche l'ecran de victoire ou de gameover. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a32016319473715fc66da494de7336f68"></a><!-- doxytag: member="sdljeu.c::sdljeuAff" ref="a32016319473715fc66da494de7336f68" args="(sdlJeu *pSdlJeu, const int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdljeuAff </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche le jeu en mode SDL. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="acaec819142e0a8f582579c395dfd34a2"></a><!-- doxytag: member="sdljeu.c::sdljeuBoucle" ref="acaec819142e0a8f582579c395dfd34a2" args="(sdlJeu *pSdlJeu, const int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdljeuBoucle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gere le deroulement du jeu en mode SDL. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="ac5e6c85058bb23f7d7911addf04820f3"></a><!-- doxytag: member="sdljeu.c::sdljeuDetruit" ref="ac5e6c85058bb23f7d7911addf04820f3" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdljeuDetruit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Libere la memoire occupee par le jeu apres la fermeture du jeu. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a91d50efe6cb2a0210ac7be37425b69c2"></a><!-- doxytag: member="sdljeu.c::sdljeuInit" ref="a91d50efe6cb2a0210ac7be37425b69c2" args="(sdlJeu *pSdlJeu, const int numeroTerrain, const int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdljeuInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>numeroTerrain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialise le jeu en mode SDL. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">numeroTerrain</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a49401288488d92f06ee4c52041ca2238"></a><!-- doxytag: member="sdljeu.c::sdlMenuPrincipal" ref="a49401288488d92f06ee4c52041ca2238" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sdlMenuPrincipal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche le menu principal du jeu. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier </dd></dl>

</div>
</div>
<a class="anchor" id="a4b38b954f28bd0ae2479cbe359b289f7"></a><!-- doxytag: member="sdljeu.c::sdlSelectModeDeuxJoueurs" ref="a4b38b954f28bd0ae2479cbe359b289f7" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sdlSelectModeDeuxJoueurs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche le menu du mode 2 joueurs. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier </dd></dl>

</div>
</div>
<a class="anchor" id="a87f8a5a2fce6f87ba7dc7c80c237570d"></a><!-- doxytag: member="sdljeu.c::sdlSelectNiveau" ref="a87f8a5a2fce6f87ba7dc7c80c237570d" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sdlSelectNiveau </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdlJeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche le menu de selection du niveau. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">pSdlJeu</td><td>pointeur sur <a class="el" href="structsdlJeu.html" title="Contient les differentes surfaces utilisées par SDL.">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier </dd></dl>

</div>
</div>
<hr/><h2>Documentation des variables</h2>
<a class="anchor" id="a6c3723683dfe1e0731a0f01ebc2e84f9"></a><!-- doxytag: member="sdljeu.c::TAILLE_SPRITE" ref="a6c3723683dfe1e0731a0f01ebc2e84f9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="sdljeu_8c.html#a6c3723683dfe1e0731a0f01ebc2e84f9">TAILLE_SPRITE</a> = 34</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définition de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Généré le Thu Jun 7 2012 15:48:57 pour ChompBombs par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
